package com.yunfangdata.mapper;

import com.yunfangdata.domain.Tracking;
import com.yunfangdata.query.QueryObject;

import java.util.List;

public interface TrackingMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Tracking record);

    Tracking selectByPrimaryKey(Long id);

    List<Tracking> selectAll();

    int updateByPrimaryKey(Tracking record);


    int queryForCount(QueryObject qo);
    /**
     * @param qo
     * @return
     */
    List<Tracking> queryForList(QueryObject qo);

    void changeState(Long id);
}